package org.example.demoschedules.service;

import lombok.Getter;

/**
 * 工作状态
 *
 * @author 单红宇
 * @since 2024/10/12 8:51
 */
@Getter
public enum WorkStatus {
    /**
     * WORK
     */
    WORK("上班"),
    /**
     * REST
     */
    REST("休息");

    /**
     * value
     */
    private final String value;

    /**
     * WorkStatus
     *
     * @param value value
     */
    WorkStatus(String value) {
        this.value = value;
    }

    @Override
    public String toString() {
        return this.value;
    }
}
